package mqtt

type Message[T any] struct {
	Duplicate bool
	Qos       byte
	Retained  bool
	Topic     string
	MessageID uint16
	Payload   T
}

type TestMsg struct {
	Name string `json:"name"`
	Code string `json:"code"`
}
